import { add, remove, modify, query } from "src/controllers/project";

export default function (router: Router, callback: Function) {
  // 增
  router.post("/project/add", callback(add));

  // 删
  router.post("/project/remove", callback(remove));

  // 改
  router.post("/project/modify", callback(modify));

  // 查
  router.get("/project/query", callback(query));
}
